<template>
  <edu-page-tabs :tab-list="xTabs" />
</template>

<script>
import EduPageTabs from '@public/template/tabs/page_tabs.vue';
export default {
  components: {
    EduPageTabs
  },
  data() {
    return {
      xTabs: [
        {
          title: '获取积分配置',
          uri: '/finance/credit/config',
          meta: {
            permission: 'finance.credit.config'
          }
        },
        // {
        //   title: '充值积分比例',
        //   uri: '/finance/credit/recharge',
        //   meta: {
        //     permission: 'finance.credit.recharge'
        //   }
        // },
        {
          title: '兑换比例',
          uri: '/finance/credit/redeem',
          meta: {
            permission: 'finance.credit.redeem'
          }
        },
        {
          title: '订单满抵',
          uri: '/finance/credit/order',
          meta: {
            permission: 'finance.credit.order'
          }
        },
        {
          title: '积分满用',
          uri: '/finance/credit/threshold',
          meta: {
            permission: 'finance.credit.threshold'
          }
        }
      ]
    };
  }
};
</script>
